#!/bin/python


import smtplib

smtp = smtplib.SMTP()
smtp.connect("smtp.163.com", "25")
smtp.login('qxiong133','password')
smtp.sendmail('qxiong133@163.com', 'zqx2010@gmail.com','''From: lbs-stat@baidu.com
To: zqx2010@gmail.com
Subject: test
 just for test''')
smtp.quit()
